<?php
/*------------------------------------------------------------------------

# TZ Portfolio Extension

# ------------------------------------------------------------------------

# author  TranLamTemPlaza

# copyright Copyright (C) 2012 templaza.com. All Rights Reserved.

# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL

# Websites: http://www.templaza.com

# Technical Support:  Forum - http://templaza.com/Forum

-------------------------------------------------------------------------*/

defined('_JEXEC') or die;
?>

<ul>
    <?php
    for($i=0;$i<count($articles);$i++){
    ?>
        <li class="<?php if($i==0){echo 'first';} if($i==(count($articles)-1)){echo 'last';}?>">
            <a href="<?php echo $articles[$i] ->link;?>" class="text-green"><?php echo $articles[$i] ->title;?></a>
        </li>
    <?php
    }
    ?>
</ul>